package com.sfac.javaSpringCloudWeb.modules.account.service;

import com.sfac.entity.account.User;
import com.sfac.entity.common.Result;

import javax.servlet.http.HttpServletRequest;

public interface UserService {

    Result<User> login(HttpServletRequest request, User user);

    Result<User> insertUser(HttpServletRequest request, User user);

    void logout(HttpServletRequest request);
}
